package org.example.chat.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.example.chat.config.ServerConfigProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class SystemLogJob {

    @Autowired
    private ServerConfigProperties serverConfigProperties;

    @XxlJob("DeleteLogJob")
    public void deleteLog() {
        int days = serverConfigProperties.getLogSaveDays();

    }
}
